package org.example.volunteerend.service;

import org.example.volunteerend.dto.UserLoginRequest;
import org.example.volunteerend.dto.UserRegisterRequest;
import org.example.volunteerend.entity.User;
import java.util.Map;

public interface UserService {
    User register(UserRegisterRequest request);
    Map<String, Object> login(UserLoginRequest request);
    User getUserInfo(Integer userId);
    void updateUserInfo(Integer userId, User user);
    void updateAvatar(Integer userId, String avatarUrl);
} 